<div class="footer">
    <p>
        <span>&copy; 2018</span>
        <span><a href="http://www.layui.com" target="_blank">layui.com</a></span>
        <span>MIT license</span>
    </p>
    <p><span>人生就是一场修行</span></p>
</div>
<script src="/static/layui/layui.js"></script>
<script>
    layui.config({
        base: '/static/js/'
    }).use('blog');
    {{ if .IsLogin}}var user = {{ .User }};{{else}}var user = {id: 0, name: "游客", email: "guest@liteblog.com", role: 1};{{end}}
</script>